import os
import shutil


def delete_folder_random(random_id):
    try:
        shutil.rmtree(os.getcwd() + "\\user_info_dir\\" + random_id)
        print(f"成功删除文件夹")
    except OSError as e:
        print(f"删除文件夹失败")


delete_folder_random('22222222222222')